package com.yanma.erp.comm;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Kenry.Xian on 2016/2/12 0012.
 */
public class ResultParams {
    private Map<String, Object> result = new HashMap<String, Object>();

    public void addAttribute(String key, Object value){
        result.put(key, value);
    }

    public synchronized Object remove(String key){
        return result.remove(key);
    }

    public Map<String, Object> getResult(){
        return result;
    }
}
